<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.core.numbers&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.c.numbers</h1><span id="part">Part of <a href="sympy.core.html">sympy.core</a></span><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.gcd">gcd</a></td><td><div><p>Returns the Greatest Common Divisor, implementing Euclid's 
algorithm.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.ilcm">ilcm</a></td><td><div><p>Computes integer least common multiple of two numbers.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.factor_trial_division">factor_trial_division</a></td><td><div><p>Factor any integer into a product of primes, 0, 1, and -1.</p>
</div></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Number.html">Number</a></td><td><div><p>Represents any kind of number in sympy.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers.convert_to_Decimal">convert_to_Decimal</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Real.html">Real</a></td><td><div><p>Represents a floating point number. It is capable of representing</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.core.numbers._parse_rational">_parse_rational</a></td><td><div><p>Parse rational number from string representation</p>
</div></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Rational.html">Rational</a></td><td><div><p>Represents integers and rational numbers (p/q) of any size.</p>
</div></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Integer.html">Integer</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Zero.html">Zero</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.One.html">One</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.NegativeOne.html">NegativeOne</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Half.html">Half</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Infinity.html">Infinity</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.NegativeInfinity.html">NegativeInfinity</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.NaN.html">NaN</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.ComplexInfinity.html">ComplexInfinity</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.NumberSymbol.html">NumberSymbol</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Exp1.html">Exp1</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Pi.html">Pi</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.GoldenRatio.html">GoldenRatio</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.EulerGamma.html">EulerGamma</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.Catalan.html">Catalan</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.numbers.ImaginaryUnit.html">ImaginaryUnit</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.gcd">gcd(a, b):</a></div>
            <div class="functionBody"><div><p>Returns the Greatest Common Divisor, implementing Euclid's 
algorithm.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.ilcm">ilcm(a, b):</a></div>
            <div class="functionBody"><div><p>Computes integer least common multiple of two numbers.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.factor_trial_division">factor_trial_division(n):</a></div>
            <div class="functionBody"><div><p>Factor any integer into a product of primes, 0, 1, and -1. Returns a 
dictionary {&lt;prime: exponent&gt;}.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers.convert_to_Decimal">convert_to_Decimal(num):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.numbers._parse_rational">_parse_rational(s):</a></div>
            <div class="functionBody"><div><p>Parse rational number from string representation</p>
</div></div>
            </div></body>
        